<div ng-include src="'tpl/public/header.html'"></div> 
<div class="contents">
    <form class="form-horizontal" role="form" name="form" ng-submit="save()" novalidate> 
      <div class="form-group" ng-class="{'has-error':form.jjqc.$invalid}">
        <label class="col-sm-2 control-label">产品简称*</label>
      <div class="col-sm-5 form-control-text">{{product.pFullName}}</div>
    </div>
      <div class="form-group" ng-class="{'has-error':form.jjqc.$invalid}">
        <label class="col-sm-2 control-label">已绑定视频</label>
        <div class="col-sm-5 form-control-text">{{title}}</div>
      </div>
      <div class="form-group" ng-class="{'has-error':form.videoOtherId.$invalid}">
        <label class="col-sm-2 control-label">未绑定产品视频列表*</label>
        <div class="col-sm-7">
           <select  ng-model="newVideoId" required="required" ng-options="m.id as m.title for m in list" style="width: 300px;
          height: 30px;">
             <option value="">--请选择视频--</option>
           </select>
          <a href="javascript:;" ng-click="playVideo(newVideoId)">查看视频</a>
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-5">
          <button type="submit" class="btn btn-default"  has-auth where="btn" who="PRODUCT_EDIT" owner="{{jj.createBy}}">提交</button>
        </div>
      </div>
    </form>
</div>
<div class="layer-box" ng-show="showPlayBox">
  <div class="layer-bg" ng-click="stopPlay()"></div>
  <div class="layer-con " style="padding:10px 20px;background: none; color: #000; font-size: 28px;">
    <div id="youkuplayer" style="width:480px;height:400px;background-color: #000"></div>
  </div>
</div>
